Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@belleui/belle-radio

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@belleui/belle-radio

radio

  • 0.0.1-alpha.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-62.5%
Maintainers
1
Weekly downloads
 
Created
Source

@belleui/belle-radio

Downloads per month NPM Version TypeScript Published on webcomponents.org

Preview

screent shot

Install

npm install @belleui/belle-radio

Useage

<belle-radio-group selected="radio1">
  <belle-radio value="radio1">Radio1</belle-radio>
  <belle-radio value="radio2">Radio2</belle-radio>
  <belle-radio value="radio3">Radio3</belle-radio>
</belle-radio-group>

Demo

Click to view demo

belle-radio-group

Properties

PropertyAttributeTypeDescription
selectedselectedboolean默认选中的值

Methods

MethodType
handleChecked(event: Event): void
slotChange(): void

Events

EventTypeDescription
on-changeCustomEvent<{ selected: string | undefined; }>单选框选中事件

Slots

NameDescription
radio item(defualt slot)

belle-radio

Properties

PropertyAttributeTypeDefaultDescription
checkedcheckedbooleanfalse默认是否选中
disableddisabledbooleanfalse是否禁用
valuevaluestring""单选框的值

Methods

MethodType
handleChange(): void

Events

EventType
changeCustomEvent<{ checked: boolean; }>

Slots

NameDescription
默认插槽,按钮文字或者其他html标签

Keywords

FAQs

Package last updated on 15 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc